<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/11 0011
  Time: 20:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fnt" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<%
    String path = request.getContextPath();
    pageContext.setAttribute("path", path);
%>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="<%=path%>/manage/index">
                疾控中心内测平台后台管理系统
            </a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.0</span>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                        <c:if test="${sessionScope.loginAdmin.superAdmin eq false}"><li>普通管理员</li></c:if>
                        <c:if test="${sessionScope.loginAdmin.superAdmin eq true}"><li>超级管理员</li></c:if>


                    <li class="dropDown dropDown_hover">
                        <a href="#" class="dropDown_A">${sessionScope.loginAdmin.adminAccount} <i class="Hui-iconfont">&#xe6d5;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" onClick="myselfinfo()">个人信息</a></li>
                            <li><a href="<%=path%>/manage/login/login">切换账户</a></li>
                            <li><a href="#" onclick="admin_update('修改密码','/manage/login/admin-update','800','500')" > 修改密码</a></li>
                            <li><a href="<%=path%>/manage/login/exit">退出</a></li>
                        </ul>
                    </li>
                    <li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
                            <li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
                            <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                            <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                            <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                            <li><a href="javascript:;" data-val="orange" title="绿色">橙色</a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
    <script type="text/javascript" src="/manage/js/lib/My97DatePicker/4.8/WdatePicker.js"></script>
    <script type="text/javascript" src="/manage/js/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
    <script type="text/javascript" src="/manage/js/lib/laypage/1.2/laypage.js"></script>
    <script type="text/javascript">
    function admin_update(title,url,w,h) {
        layer_show(title, url, w, h);
    }
    </script>
</header>
